import logging
def log_set():
    logging.basicConfig(filename="weidudiansanglog.txt",filemode="w",level=logging.INFO,
                        format="%(filename)s--%(asctime)s--%(message)s")